class Datasource:
    id, name, ip, port, database, username, password, dbtype = -1, "", "", 0, "", "", "", ""
    tables = []

    def __init__(self, id, name, ip, port: int, database, username, password, dbtype):
        self.ip = ip
        self.name = name
        self.username = username
        self.port = port
        self.password = password
        self.database = database
        self.dbtype = dbtype
        self.id = id
